<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="../dist/vue.js"></script>
</head>
<body>
<div id='app'>
    <p>111{{msg + '----'}}222</p>
    <p v-text="msg"></p>
    <p><input v-model="msg" type="text"></p>
    <p>
        <button @click="handleClick">click</button>
    </p>
</div>
</body>
<script>
    const vm = new Vue({
        el: '#app',
        data: {
            msg: 'hello mvvm'
        },
        methods: {
            handleClick: function () {
                console.log('handleClick', this.msg);
            }
        }
    });
</script>
</html>
